﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:CreaMotion_UserControls="clr-namespace:CreaMotion.UserControls" mc:Ignorable="d"
	xmlns:CreaMotion_Thumbs="clr-namespace:CreaMotion.Thumbs"
	xmlns:CreMotion_Layout="clr-namespace:CreaMotion.Layout"
    x:Class="CreaMotion.Forms.DesignForm"
	x:Name="Window"
	Title="MainWindow"
	Width="1024" Height="768" WindowState="Maximized" Background="White" AllowsTransparency="True" WindowStyle="None">
    
	<Grid x:Name="LayoutRoot">

		<Grid Height="51.33" VerticalAlignment="Top" Background="#FF226710" Margin="0,-0.167,0,0">
			<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="CreaMotion Class Builder" Width="307.096" Foreground="White" FontSize="26.667" Margin="8,20.332,0,1"/>
			<Button x:Name="btClose" Margin="0,4.833,1.333,0.297" Style="{DynamicResource SpecialButton}" Foreground="White" FontSize="18.667" HorizontalAlignment="Right" Width="102.667" Background="#FF3F0606" d:IsLocked="True">
				<Button.Effect>
					<DropShadowEffect BlurRadius="3" Direction="291" ShadowDepth="3"/>
				</Button.Effect>
				<Button.BorderBrush>
					<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
						<GradientStop Color="#FFCCCCCC" Offset="0"/>
						<GradientStop Color="#FF413A3A" Offset="1"/>
					</LinearGradientBrush>
				</Button.BorderBrush>
				<TextBlock Margin="14,-13,-19.7,0.5" TextWrapping="Wrap" Text="X" Width="21.78" FontSize="32" Height="31.39" FontWeight="Bold" d:IsLocked="True"/>
			</Button>
		</Grid>
		<Grid Margin="0,152.33,0,0">
			<ScrollViewer x:Name="DesignScrollViever" Margin="253.751,26.83,8.493,2.67" ScrollViewer.HorizontalScrollBarVisibility="Visible" RenderTransformOrigin="0.5,0.5">
				<ScrollViewer.RenderTransform>
					<TransformGroup>
						<ScaleTransform/>
						<SkewTransform AngleX="-0.073"/>
						<RotateTransform/>
						<TranslateTransform X="0.374"/>
					</TransformGroup>
				</ScrollViewer.RenderTransform>
				<CreMotion_Layout:DesignerCanvas x:Name="DesignGrid" Height="1070" Width="2000">
					<CreMotion_Layout:DesignerCanvas.Background>
						<ImageBrush ImageSource="/NhibernateClassBuilder;component/Images/Untitled-2.png" Stretch="UniformToFill"/>
					</CreMotion_Layout:DesignerCanvas.Background>
                </CreMotion_Layout:DesignerCanvas>
			</ScrollViewer>
			<ListBox x:Name="listTables" BorderBrush="Black" Background="White" HorizontalAlignment="Left" Width="253" d:IsLocked="True"/>
		</Grid>
		<Grid HorizontalAlignment="Left" Height="93.167" Margin="8,55.163,0,0" VerticalAlignment="Top" Width="227.167" d:IsLocked="True">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="0.321*"/>
				<ColumnDefinition Width="0.679*"/>
			</Grid.ColumnDefinitions>
			<Grid Margin="0,0,0.692,0" Height="29.118" VerticalAlignment="Top" Grid.ColumnSpan="2" d:IsLocked="True">
				<Image HorizontalAlignment="Left" Source="/NhibernateClassBuilder;component/Images/database_table.png" Stretch="Fill" Width="27"/>
				<TextBlock Margin="31,5.798,63.488,8" TextWrapping="Wrap" FontSize="13.333" d:LayoutOverrides="Width, Height"><Run Language="tr-tr" Text="Database Information"/></TextBlock>
				<Rectangle Height="1.944" Stroke="#FF226710" VerticalAlignment="Bottom" Margin="0,0,-0.692,-6.382"/>
			</Grid>
			<TextBlock Margin="0,39.5,-0.001,38.334" TextWrapping="Wrap" HorizontalAlignment="Right"><Run Language="tr-tr" Text="Name :"/></TextBlock>
			<TextBlock Margin="0,0,-0.002,20.001" TextWrapping="Wrap" Height="15.333" VerticalAlignment="Bottom" HorizontalAlignment="Right"><Run Language="tr-tr" Text="Engine :"/></TextBlock>
			<TextBlock Margin="0.835,0,-0.835,2.168" TextWrapping="Wrap" Height="15.333" VerticalAlignment="Bottom"><Run Language="tr-tr" Text="Table Count :"/></TextBlock>
			<TextBlock x:Name="labDatabaseName" Margin="0,39.5,0,38.334" TextWrapping="Wrap" HorizontalAlignment="Right" Grid.Column="1" Width="153.256"><Run Language="tr-tr" Text="&lt;Database Name&gt;"/></TextBlock>
			<TextBlock x:Name="labDatabaseEngine" Margin="0,0,-0.001,20.001" TextWrapping="Wrap" HorizontalAlignment="Right" Grid.Column="1" Width="153.256" Height="15.333" VerticalAlignment="Bottom"><Run Language="tr-tr" Text="&lt;Database Engine&gt;"/></TextBlock>
			<TextBlock x:Name="labTableCount" Margin="0,0,0.99,2.168" TextWrapping="Wrap" HorizontalAlignment="Right" Grid.Column="1" Width="153.256" Height="15.333" VerticalAlignment="Bottom"><Run Language="tr-tr" Text="&lt;Table Count&gt;"/></TextBlock>
		</Grid>
		<Grid Height="127.167" Margin="259.248,51.163,0,0" VerticalAlignment="Top">
			<Rectangle Fill="#FFF4F4F5" Margin="-8,0.335,8,0" Stroke="Black"/>
			<ComboBox x:Name="cmbLanguages" Margin="81.168,-8.753,0,0" HorizontalAlignment="Left" Width="171.832" d:LayoutOverrides="HorizontalAlignment" Height="44" VerticalAlignment="Top">
				<ComboBox.Background>
					<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
						<GradientStop Color="#FFF3F3F3" Offset="0"/>
						<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
						<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
						<GradientStop Color="#FF65CA34" Offset="1"/>
					</LinearGradientBrush>
				</ComboBox.Background>
				<Grid x:Name="VbLanguage" Height="40" Width="146" Background="#FF85B0FB">
					<Image HorizontalAlignment="Left" Source="/NhibernateClassBuilder;component/Images/vb.png" Stretch="Fill" Width="50" Margin="-3.333,0,0,0" d:IsLocked="True"/>
					<TextBlock Height="13.667" Margin="46.667,1.332,7.333,0" TextWrapping="Wrap" VerticalAlignment="Top" d:IsLocked="True"><Run Language="tr-tr" Text="Visual Basic .Net"/></TextBlock>
				</Grid>
				<Grid x:Name="CsharpLanguage" Height="40" Width="146" Background="#FF65CA34">
					<Image HorizontalAlignment="Left" Source="/NhibernateClassBuilder;component/Images/csharp.png" Stretch="Fill" Width="50" Margin="-3.333,0,0,0" d:IsLocked="True"/>
					<TextBlock Height="13.667" Margin="46.667,1.332,7.333,0" TextWrapping="Wrap" VerticalAlignment="Top" d:IsLocked="True"><Run Language="tr-tr" Text="C# .Net"/></TextBlock>

				</Grid>
			</ComboBox>
			<TextBlock HorizontalAlignment="Left" Height="14.175" Margin="16.004,5.247,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="58.834" Foreground="Black"><Run Language="tr-tr" Text="Language :"/></TextBlock>
			<TextBlock Margin="6.334,43.581,0,0" TextWrapping="Wrap" HorizontalAlignment="Left" Width="70.334" Height="14.175" VerticalAlignment="Top"><Run Language="tr-tr" Text="NameSpace :"/></TextBlock>
			<TextBox x:Name="textNamespace" Margin="81.168,39.247,0,0" TextWrapping="Wrap" Text="CreaMotion" Foreground="#FF226710" HorizontalAlignment="Left" Width="171.832" Height="22.155" VerticalAlignment="Top">
				<TextBox.BorderBrush>
					<LinearGradientBrush EndPoint="0,20" MappingMode="Absolute" StartPoint="0,0">
						<GradientStop Color="#FFABADB3" Offset="0.05"/>
						<GradientStop Color="#FFE2E3EA" Offset="0.07"/>
						<GradientStop Color="#FF226710" Offset="1"/>
					</LinearGradientBrush>
				</TextBox.BorderBrush>
			</TextBox>
			<Button x:Name="btOpenRelationshipManager" Margin="316.077,0,0,0.335" BorderBrush="{x:Null}" HorizontalAlignment="Left" Width="93.333" Style="{DynamicResource SpecialHorizontalButton}" Background="#FF226710">
				<Grid Width="73.991" Height="62.066" d:IsLocked="True">
					<TextBlock Margin="2,32,3.991,0" TextWrapping="Wrap" TextAlignment="Center" Foreground="White" Text="Relationship Manager"/>
					<Image Margin="16.666,0,25.325,0" Source="/NhibernateClassBuilder;component/Images/share.png" Stretch="Fill" Height="32" VerticalAlignment="Top"/>

				</Grid>
			</Button>
                             
		</Grid>
		<Button x:Name="btCreateNhibernateProject" Style="{DynamicResource SpecialButton}" Foreground="White" FontSize="18.667" HorizontalAlignment="Left" Width="153.167" Height="46.2" VerticalAlignment="Top" Margin="357.833,114.63,20,0" Background="#FF226710">
			<TextBlock Margin="-10,-3.999,-12.749,-3.547" TextWrapping="Wrap" Text="Create Project" Width="155.167"/>
		</Button>
		<CreMotion_Layout:ZoomBox Height="Auto"
																	 MaxHeight="210" Margin="0,56.663,11.335,0"
				                                				 	 HorizontalAlignment="Right"
                               									 	 VerticalAlignment="Top" Width="334"
																	 ScrollViewer="{Binding ElementName=DesignScrollViever}" MaxWidth="332"/>

	</Grid>
</Window>